package com.lz.gmall.rabbit.anno;

import com.lz.gmall.rabbit.config.OrderMqConfiguration;
import com.lz.gmall.rabbit.config.RabbitMqConfiguration;
import com.lz.gmall.rabbit.service.Impl.RabbitBizServiceImpl;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author 郭运龙
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(value = {RabbitMqConfiguration.class, OrderMqConfiguration.class, RabbitBizServiceImpl.class})
public @interface EnableRabbitMqConfiguration {
}
